package gov.ccswj.modules.ccbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.ccbusiness.dao.CEquityPledgedInfoDao;
import gov.ccswj.modules.ccbusiness.entity.CEquityPledgedInfoEntity;
import gov.ccswj.modules.ccbusiness.service.CEquityPledgedInfoService;



@Service("cEquityPledgedInfoService")
public class CEquityPledgedInfoServiceImpl implements CEquityPledgedInfoService {
	@Autowired
	private CEquityPledgedInfoDao cEquityPledgedInfoDao;
	
	@Override
	public CEquityPledgedInfoEntity queryObject(Integer id){
		return cEquityPledgedInfoDao.queryObject(id);
	}
	
	@Override
	public List<CEquityPledgedInfoEntity> queryList(Map<String, Object> map){
		return cEquityPledgedInfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cEquityPledgedInfoDao.queryTotal(map);
	}
	
	@Override
	public void save(CEquityPledgedInfoEntity cEquityPledgedInfo){
		cEquityPledgedInfoDao.save(cEquityPledgedInfo);
	}
	
	@Override
	public void update(CEquityPledgedInfoEntity cEquityPledgedInfo){
		cEquityPledgedInfoDao.update(cEquityPledgedInfo);
	}
	
	@Override
	public void delete(Integer id){
		cEquityPledgedInfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		cEquityPledgedInfoDao.deleteBatch(ids);
	}
	
}
